<?php if(!defined('BASEPATH'))exit('No direct script access allowed'); ?>
<?php if($module == true){ ?>
<?php if(count($rows) > 0){ ?>
<div class="module moduleIE6">
    <div class="oModule">
        <div class="iModule">
            <div class="title"><?php echo lang('RELIABLE_JOB'); ?></div>
            <div class="listMD">
                <!--LOOP-->
                <?php foreach($rows as $row){ ?>
                <div>
                    <a href="<?php echo base_url(); ?>job/section/<?php echo $row->jobSection; ?>/category/<?php echo $row->jobCategory; ?>/detail/<?php echo $row->jobID; ?>/<?php echo url($row->jobTitle); ?>" title="<?php echo lang('VIEW_DETAIL'); ?>"><?php echo sub($row->jobTitle, 30); ?></a>
                    <span class="green <?php if((time() - (int)$row->jobPostDate) <= (NEW_TIME*60)){echo 'new';} ?>"><i>(<?php echo $row->jobView; ?>)</i></span>
                </div>
                <?php } ?>
                <!--LOOP-->
            </div>
        </div>
    </div>
</div>
<?php } ?>
<?php }else{ ?>
<div class="titleBG">
    <div class="oTitleBG">
        <div class="iTitleBG">
            <div class="txt"><?php echo lang('JOB'); ?> <span class="red"><?php echo lang('RELIABLED'); ?></span></div>
        </div>
    </div>
</div>
<div class="borderBlue739 mTop5">
    <div class="oBorderBlue739">
        <div class="iBorderBlue739 <?php if($rows%2 == 0){echo 'pBottom4';} ?>">
            <div class="row">
                <!--LOOP-->
                <?php $first = true; ?>
                <?php foreach($rows as $row){ ?>
                <div class="row32" <?php if($first == true){echo 'style="border:0px;"';} ?>>
                    <div class="iTitle reliable" style="width:470px;">
                        <a href="<?php echo base_url(); ?>job/section/<?php echo $row->jobSection; ?>/category/<?php echo $row->jobCategory; ?>/detail/<?php echo $row->jobID; ?>/<?php echo url($row->jobTitle); ?>" title="<?php echo lang('VIEW_DETAIL'); ?>"><?php echo sub($row->jobTitle, 80); ?></a>
                        <span class="green"><i>(<?php echo $row->preName; ?>)</i></span>
                    </div>
                    <div class="wid120"><?php echo date_convert($row->jobPostDate); ?></div>
                    <div class="wid110"><?php echo $row->preName; ?></div>
                </div>
                <?php $first = false; ?>
                <?php } ?>
                <!--LOOP-->
            </div>
        </div>
    </div>
</div>
<?php } ?>